<template>
  <div class="pub-header" id="headers">
      <div class="page-fixed-header color-white bg-blue">
          <div class="header-left">
              <svg-icon class="ui-icon" icon-class="back" @click="goback" />
          </div>
          <h1>{{ title }}</h1>
      </div>
  </div>
</template>
<script>
export default {
  data () {
    return {
    }
  },
  props: [
    "title",
  ],
  created() {

  },
  mounted() {

  },
  methods: {
    goback: function() {
      if (!!this.$route) {
        this.$router.go(-1);
      } else {
        window.history.go(-1);
      }
    }
  }
};
</script>
<style>
@import url('../../assets/pub-ui/css/header.css');
.bg-blue {
  background: #318ff0!important;
}
.color-white {
    color: #fff!important;
}
</style>

